import { GoodsMarkingComponent } from './home/goods-management/goods-marklist/goods-marking/goods-marking.component';
import { HomepagePopupComponent } from './home/page-management/homepage-popup/homepage-popup.component';
import { ThreeAdvertisingManagementComponent } from './home/advertising-management/three-advertising-management/three-advertising-management.component';
import { ImageManagementComponent } from './home/material-management/image-management/image-management.component';
import { PrepaidVoucherManagementComponent } from './home/account-recharge-management/prepaid-voucher-management/prepaid-voucher-management.component';
import { VoucherBatchToUserComponent } from './home/voucher-management/voucher-batch-to-user/voucher-batch-to-user.component';
import { PaymentMethodManagementComponent } from './home/account-recharge-management/payment-method-management/payment-method-management.component';
import { RechargeNoteComponent } from './home/account-recharge-management/recharge-note/recharge-note.component';
import { GoodsMarkListComponent } from './home/goods-management/goods-marklist/goods-marklist.component';
import { ChangePasswordComponent } from './home/personal-center/change-password/change-password.component';
import { ActivityGoodsManagementComponent } from './home/campaign-management/activity-goods-management/activity-goods-management.component';
import { ActivityGoodsManagementModalComponent } from './home/campaign-management/activity-goods-management/activity-goods-management-modal/activity-goods-management-modal.component';
import { ActivityGoodsManagementAddModalComponent } from './home/campaign-management/activity-goods-management/activity-goods-management-add-modal/activity-goods-management-add-modal.component';
import { ClickOrderActivityManagementComponent } from './home/campaign-management/click-order-activity-management/click-order-activity-management.component';
import { ClickOrderActivityAddComponent } from './home/campaign-management/click-order-activity-management/click-order-activity-add/click-order-activity-add.component';
import { ClickOrderActivityEditComponent } from './home/campaign-management/click-order-activity-management/click-order-activity-edit/click-order-activity-edit.component';
import { FloatingWindowComponent } from './home/page-management/floating-window/floating-window.component';
import { LeadDownloadActivityManagementComponent } from './home/campaign-management/lead-download-activity-management/lead-download-activity-management.component';
import { LeadDownloadActivityAddComponent } from './home/campaign-management/lead-download-activity-management/lead-download-activity-add/lead-download-activity-add.component';
import { LeadDownloadActivityEditComponent } from './home/campaign-management/lead-download-activity-management/lead-download-activity-edit/lead-download-activity-edit.component';
import { InvoiceManagementComponent } from './home/invoice-management/invoice-management.component';
import { InvoiceCategoryManagementComponent } from './home/invoice-management/invoice-category-management/invoice-category-management.component';
import { GoodsInvoiceCategoryManagementComponent } from './home/invoice-management/goods-invoice-category-management/goods-invoice-category-management.component';
import { ExchangeCardTemplateManagementComponent } from './home/exchange-card-management/exchange-card-template-management/exchange-card-template-management.component';
import { ExchangeCardManagementComponent } from './home/exchange-card-management/exchange-card-management/exchange-card-management.component';
import { ExchangeCardQueryComponent } from './home/exchange-card-management/exchange-card-query/exchange-card-query.component';

export const menu = [
    {
        'firstMenu': { 'name': '商品管理' },
        'secondMenu': [
            { 'name': '商品打标管理', 'componentClass': GoodsMarkListComponent }
        ]
    },
    {
        'firstMenu': { 'name': '页面管理' },
        'secondMenu': [
            { 'name': '首页弹窗', 'componentClass': HomepagePopupComponent },
            { 'name': '首页悬浮窗', 'componentClass': FloatingWindowComponent }
        ]
    },
    {
        'firstMenu': { 'name': '广告管理' },
        'secondMenu': [
            { 'name': '三处广告管理', 'componentClass': ThreeAdvertisingManagementComponent }
        ]
    },
    {
        'firstMenu': { 'name': '素材管理' },
        'secondMenu': [
            { 'name': '图片管理', 'componentClass': ImageManagementComponent }
        ]
    },
    {
        'firstMenu': { 'name': '账户充值管理' },
        'secondMenu': [
            { 'name': '充值送券管理', 'componentClass': PrepaidVoucherManagementComponent },
            { 'name': '支付方式管理', 'componentClass': PaymentMethodManagementComponent },
            { 'name': '充值须知', 'componentClass': RechargeNoteComponent }
        ]
    },
    {
        'firstMenu': { 'name': '市场活动管理' },
        'secondMenu': [
            { 'name': '活动商品管理', 'componentClass': ActivityGoodsManagementComponent },
            { 'name': '活动商品管理-活动商品设置', 'componentClass': ActivityGoodsManagementModalComponent },
            { 'name': '活动商品管理-活动商品新增', 'componentClass': ActivityGoodsManagementAddModalComponent },
            { 'name': '一键下单活动管理', 'componentClass': ClickOrderActivityManagementComponent },
            { 'name': '一键下单活动管理-活动设置', 'componentClass': ClickOrderActivityEditComponent },
            { 'name': '一键下单活动管理-活动新增', 'componentClass': ClickOrderActivityAddComponent },
            { 'name': '引导下载活动管理', 'componentClass': LeadDownloadActivityManagementComponent }
        ]
    },
    {
        'firstMenu': { 'name': '优惠券管理' },
        'secondMenu': [
            { 'name': '优惠券批量发送', 'componentClass': VoucherBatchToUserComponent }
        ]
    },
    {
        'firstMenu': { 'name': '开票管理' },
        'secondMenu': [
            { 'name': '开票分类管理', 'componentClass': InvoiceCategoryManagementComponent },
            { 'name': '商品开票分类管理', 'componentClass': GoodsInvoiceCategoryManagementComponent }
        ]
    },
    {
        'firstMenu': { 'name': '卡券管理' },
        'secondMenu': [
            { 'name': '卡券模板管理', 'componentClass': ExchangeCardTemplateManagementComponent },
            { 'name': '领卡管理', 'componentClass': ExchangeCardManagementComponent },
            { 'name': '卡券查询', 'componentClass': ExchangeCardQueryComponent }
        ]
    },
    {
        'firstMenu': { 'name': '个人中心' },
        'secondMenu': [
            { 'name': '修改密码', 'componentClass': ChangePasswordComponent }
        ]
    }
];
